First, you will need a PostScript font (.pfa or .pfb) which has those line drawing characters. This is the most trickiest task since these fonts are really rare. Once you find one, you must make it available for enscript (see file README for details) so it can be downloaded to the printer.
Since these suitable fonts are so rare, the ibmpc encoding do not contain mappings for those line drawing characters, this means they won't print if you use the ibmpc encoding. You must rely on the font's build-in encoding and print your files with option `-X ps' or `--encoding=ps'.
No, everything is ok but the problem is that Adobe's default Courier font does not have characters named: Aogonek, Lcaron, Sacute, Tcaron, Zacute, ... (those 44 missing characters) so enscript can't print them. You can solve this if you have a courier (or whatever) font that has those missing characters. One good canditate is courier font distributed with the X distribution, it is called cour.pf{a,b} and should be found from all good FTP sites.
To solve this problem, you must:
$ ls fonts/cour* fonts/cour.afm fonts/cour.pfa
$ cd fonts $ mkafmmap *.afm file=font.map BrushScript.afm... Hobo.afm... Stencil.afm... cour.afm... uaqrrc.afm... ugqb.afm... unmr.afm... unmrs.afm...
$ cat ~/.genscriptrc # # My genscript init file. # DefaultFancyHeader: emacs AFMPath: /home/mtr/fonts:/usr/local/lib/genscript/afm
$ cd myprogs/enscript/ $ genscript -v -G2r -pfoo.ps latin2.txt AFM: scanning path... AFM: reading font map "/home/mtr/fonts/font.map" AFM: reading font map "/usr/local/lib/genscript/afm/font.map" reading AFM info for font "Courier" downloading font "Courier" processing file latin2.txt... [ 3 pages * 1 copy ] left in foo.ps
# Default output media. DefaultMedia: A4 => DefaultMedia: Letter
# Media definitions: # name width height llx lly urx ury Media: A3 839 1190 18 17 821 1173 Media: A4 595 839 18 17 581 822 Media: A5 420 595 18 17 406 578 Media: Letter 612 792 18 17 597 776 Media: Legal 612 1008 18 17 597 992 Media: A4BigMargin 595 839 36 34 563 805You can select this media by giving enscript option `-M A4BigMargin' or by setting it to be your default output media by editing genscript.cfg:
# Default output media. DefaultMedia: A4 => DefaultMedia: A4BigMargin
# Default output media. DefaultMedia: A4 => # Default output media. DefaultMedia: Letter
% Optionally choose a default paper size other than U.S. letter. % (a4) /PAPERSIZE where { pop pop } { /PAPERSIZE exch def } ifelse => % Optionally choose a default paper size other than U.S. letter. (a4) /PAPERSIZE where { pop pop } { /PAPERSIZE exch def } ifelseor give ghostscript option
-sPAPERSIZE=a4